package com.lagou.dao;

import com.lagou.pojo.Course;
import com.lagou.pojo.Course_Lesson;
import com.lagou.pojo.Course_Section;

import java.util.List;

/**
 * @Author : liuchangling
 * @Descrition :课程内容模块
 * @Date： Created in 10:34 上午 2021/6/11
 */
public interface CourseContentDao {
    //查询章节信息
    public  List<Course_Section> findSectionByCourseId(int id);

    //查询课程信息
    public  List<Course_Lesson> findLessonByCourseID(int id);

    //回显章节对应的课程信息
    public Course findCourseById(int course_id);

    //保存章节信息
    public int saveSection(Course_Section courseSection);

    //修改章节信息
    public int updateSection(Course_Section courseSection);


    public int updateSectionStatus(Course_Section courseSection);

    public int saveLesson(Course_Lesson courseLesson);

    public int updateLesson(Course_Lesson courseLesson);
}
